<div class="basic-btn" *ngIf="btnOption.btnlist.length !== 0">
  <div class="ui-g-12">
    <div class="ui-g-1 basic-btn-header-btn basic-btn-header-basic-btn" [ngStyle]="item?.style" (click)="eventClick(item.label)" *ngFor="let item of btnOption.btnlist.slice(0, btnOption.btnlist.length -1)" [hidden]="item.hidden">
      <img class="basic-btn-header-img" [src]="item?.src" alt="">
      <span>{{item?.label}}</span>
    </div>
    <!--<div style="margin-top: 4.5vh;font-size: 0.875rem">-->
      <!--<label style="color: #fff;margin-left: 0.5vw" >小区：</label>-->
      <!--<p-dropdown [options]="SearchOption.village"  scrollHeight="100px" placeholder="请选择小区..." (onChange)="VillageChange($event)"></p-dropdown>-->
      <!--<label style="color: #fff;margin-left: 0.5vw">地块：</label>-->
      <!--<p-dropdown [options]="SearchOption.region" scrollHeight="100px" placeholder="请选择地块..." (onChange)="regionChange($event)"></p-dropdown>-->
      <!--<label style="color: #fff;margin-left: 0.5vw">楼栋：</label>-->
      <!--<p-dropdown [options]="SearchOption.building"  scrollHeight="100px" placeholder="请选择楼栋..." (onChange)="buildingChange($event)"></p-dropdown>-->
      <!--&lt;!&ndash;<label style="color: #fff;margin-left: 0.5vw">单元：</label>&ndash;&gt;-->
      <!--&lt;!&ndash;<p-dropdown [options]="SearchOption.unit"   scrollHeight="100px" placeholder="请选择单元..." (onChange)="unitChange($event)" [style]="{'width':'5vw'}"></p-dropdown>&ndash;&gt;-->
      <!--&lt;!&ndash;<label style="color: #fff;margin-left: 0.5vw">房间：</label>&ndash;&gt;-->
      <!--&lt;!&ndash;<p-dropdown [options]="SearchOption.room"   scrollHeight="100px" placeholder="请选择房间..." [(ngModel)]="SearchData.roomCode" [style]="{'width':'12vw'}"></p-dropdown>&ndash;&gt;-->
    <!--</div>-->
  </div>

  <!--//搜索-->
  <div class="ui-inputgroup basic-btn-header-search" *ngIf="!btnOption.btnlist[btnOption.btnlist.length -1].hidden">
    <p-dropdown [options]="searchOption"   scrollHeight="100px"  [(ngModel)]="searchType" [ngStyle]="{'margin-right':'2vw'}" placeholder="请选择搜索范围"></p-dropdown>
    <input type="text" pInputText placeholder="请输入搜索的值" style="padding-left: 2px" [(ngModel)]="serchData">
    <button id="disabled-btn" class="basic-btn-header-btn-search" type="button"  (click)="SearchClick()"  label="搜索">搜索</button>
  </div>
</div>
